package com.tommy.ddp.definition
{
	/**
	 * 棋子颜色类型定义
	 * @author hongxuan
	 * 
	 */	
	public class BoxColorType
	{
		public static const COLOR_1:uint = 0;
		public static const COLOR_2:uint = 1;
		public static const COLOR_3:uint = 2;
		public static const COLOR_4:uint = 3;
		public static const COLOR_5:uint = 4;
		public static const COLOR_6:uint = 5;
		//SUPER BOOM USE IT
		public static const NONE:uint = 6;
		
		public function BoxColorType()
		{
		}
		
		public static function get randomColorType():uint
		{
			var arr:Array = [COLOR_1,COLOR_2,COLOR_3,COLOR_4,COLOR_5,COLOR_6];
			return arr[Math.floor(Math.random()*arr.length)];
		}
	}
}